<?php
class Block_Sites extends Zend_Controller_Action_Helper_Abstract
{
    private $_view;
    
    public function __construct($view) {
        $this->_view = $view;
    }

    public function init() {
        $this->createSitesBlock();
    }

    public function createSitesBlock() {
        $layout = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getResource('Layout');
        $layout->sites = $this->_view->partial('sites.phtml');
    }

}